package com.example.newstudent.service;

import com.example.newstudent.entity.Result;
import com.example.newstudent.entity.lesson;
import com.example.newstudent.entity.student;

import java.time.LocalDateTime;
import java.util.List;

public interface studentService {
    student login(student student);
    List<lesson> getlesson(String id,int page);
    void status(String id);
    void selectLesson(String id,String name);
    student updatemessage(student student);

    int enroll(student student);

    List<lesson> haveSelect(String id);

    void withDrawal(String id, String name);

    int getStudentHaveStatus();

    List<Double> gender();

    List<Integer> provinces();

    List<LocalDateTime> haveStatus();

    List<String> academy();

    student selectById(String id);
}
